 

package com.zdkj.subway.stm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.stm.dto.out.SwStTicketHandDetailsDTO;
import com.zdkj.subway.stm.entity.SwStTicketHand;

import javax.servlet.http.HttpServletResponse;

/**
 * 车票上交主表
 *
 * @author cuilei
 * @date 2020-05-26 15:03:29
 */
public interface SwStTicketHandService extends IService<SwStTicketHand> {
    /**
     * 新增主表及明细
     * @param obj
     * @return
     */
    boolean savePrimaryAndDetails(Object obj);

    /**
     * 查询主信息及子项明细
     * @param id
     * @return
     */
    SwStTicketHandDetailsDTO getDetailById(Integer id);
    /**
     * 车票回收信息模板下载
     * @param
     * @return
     * @throws
     */
    void exportTamplateRecovery(HttpServletResponse response);
}
